package com.bgds.sys.common.exception;

/**
 * @author lj
 * 业务异常类
 */
public class BusinessException extends RuntimeException {
        private int code;
        private String message;

    public BusinessException(int code, String message) {
        this.code = code;
        this.message = message;
    }
    public BusinessException(String message) {
        this.message = message;
    }

    }
